package com.example.ailiyuncloud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.ailiyuncloud.dto.CommodityDto;
import com.example.ailiyuncloud.dto.InventoryAddDto;
import com.example.ailiyuncloud.pojo.BaseResponseData;
import com.example.ailiyuncloud.pojo.Result;

import java.util.List;
import java.util.Map;

/**
 * @Author: lqj
 * @Date: 2024/05/23/14:35
 * @Description:
 */
public interface CommodityService {

    Result<String> addCommodityService(List<CommodityDto> commodityDto);

    Result<Map<String, Object>> QueryCommodityService(Page page, CommodityDto commodityDto);

    /**
     * 增加商品库存
     * @return
     */
    Result<Map<String, Object>> inventoryAddService(List<InventoryAddDto> list);


}
